package com.thyme.content.configuration;

import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.netflix.ribbon.RibbonClients;
import org.springframework.context.annotation.Configuration;
import ribbonconfiguration.RibbonConfiguration;

/**
 * @author thyme
 * @ClassName UserCenterRibbonConfiguration
 * @Description TODO
 * @Date 2019/11/5 21:18
 */
@Configuration
// 微服务单个配置
//@RibbonClient(name = "center-user",configuration = RibbonConfiguration.class)
// 全局配置
@RibbonClients(defaultConfiguration = RibbonConfiguration.class )
public class UserCenterRibbonConfiguration {
}
